# Copyright (C) 2005 Taylor L. Riché <riche@cs.utexas.edu>
#  
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without 
# modifications, as long as this notice is preserved.
# 
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
#	$Id: Makefile.am 43 2005-07-21 21:05:38Z richetl $	
#

GGO_GEN =  cmdline.c cmdline.h

AM_CXXFLAGS = -Wall

bin_PROGRAMS = lee
lee_SOURCES = main.cc cmdline.ggo $(GGO_GEN) \
              Reader.cc Reader.hh commands.hh \
              DynamicLib.hh

GGO=$(GENGETOPT)
GGOFLAGS=--unamed-opts="APP FILE" --file-name=cmdline
CLEANFILES = $(GGO_GEN)

$(GGO_GEN): cmdline.ggo
	$(GGO) $(GGOFLAGS) --input=$<

main.cc: cmdline.c



